package cn.gov.msa.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.gov.msa.model.Repository;
import cn.gov.msa.model.RepositoryClassify;
@Service
public interface RepositoryService {

	public List<Repository> selectRepository(int pageNum, int pageSize, Repository repository) throws Exception;
	
	public boolean updateViewCount(Repository repository) throws Exception;
	
	public boolean saveData(Repository repository) throws Exception;
	
	public List<RepositoryClassify> selectSmallClass(Repository repository) throws Exception;
	
	public int deleteByPK(String repositoryPK) throws Exception;
	
	public boolean updateData(Repository repository) throws Exception;
}
